import React from 'react'
import Test from './components/Test'
class Demo extends React.Component {
  render() {
    return <h2>demo组件</h2>
  }
}
export default class App extends React.Component {
  state = {}
  render() {
    return (
      <div>
        <Test
          test={'haha'}
          obj={{ name: 'zs' }}
          ele={<h1>123</h1>}
          comType={Demo}
          com={<Demo></Demo>}
        ></Test>
      </div>
    )
  }
}
